package com.bjdd.jdy;

import android.os.Environment;

import java.io.File;

/**
 * Created by yukai on 2016/11/12.
 */

public class Constant {

    //事件
    public static final String EVENT_LOGIN = "login";
    //获取验证码
    public static final String EVENT_CODE = "code";
    //注册
    public static final String EVENT_REGISTER = "register";
    //定位,定时调用
    public static final String EVENT_LOCATION = "location";
    //调用一次的定位
    public static final String EVENT_LOCATION_ONCE = "location_once";
    //更新用户信息
    public static final String EVENT_UPDATE_USER = "update_user";
    //开始接单
    public static final String EVENT_START_ORDER = "TAKE_ORDER";
    //停止接单
    public static final String EVENT_STOP_ORDER = "STOP_ORDER";
    //设置JPush别名
    public static final String EVENT_SET_ALIAS = "SET_ALIAS";
    //抢单
    public static final String GRAB = "GRAB";
    //查看地图
    public static final String GRAB_MAP = "grab_map";
    //关闭鹰眼轨迹
    public static final String CLOSE_TRACE = "close_trace";
    //导航
    public static final String NAV = "baidu_nav";
    //拍照验货完成
    public static final String INSPECTION_FINISH = "INSPECTION_FINISH";
    //确认收货成功
    public static final String SIGN_ORDER_BACK = "SIGN_ORDER_BACK";
    //扫码签收完毕
    public static final String SIGN_SCAN_SUCCESS = "SIGN_SCAN_SUCCESS";
    //扫描支付完成
    public static final String PAY_SUCCESS = "PAY_SUCCESS";
    //显示加载框
    public static final String SHOW_LOADING = "SHOW_LOADING";
    //隐藏加载框
    public static final String HIDE_LOADING = "HIDE_LOADING";
    //列表签收
    public static final String SING_LIST = "SING_LIST";
    //更新用户信息
    public static final String UPDATE_USER = "UPDATE_USER";
    //删除图片
    public static final String DEL_IMG = "DEL_IMG";
    //文件路径
    public static final File SD_PATH = Environment.getExternalStorageDirectory();
    public static final String QRY_PATH = SD_PATH + "/axq";

    //默认图片
    public static final String DEFAULT_PHOTO = "default_PHOTO";

    public static final int MEDIA_TYPE_IMAGE = 1;
    public static final int MEDIA_TYPE_VIDEO = 2;

    //订单类型
    public static final int ORDER_PAID = 1;//已支付
    public static final int ORDER_PAIR = 2;//待取货
    public static final int ORDER_SENDING = 3;//正在配送
    public static final int ORDER_FINISH = 4;//配送完成
    public static final int ORDER_CANCEL = 5;//取消
    public static final int ORDER_ERROR = 6;//订单异常

    public static final int TO_PAY = 4;//到付
    public static final int PROTOCOL_PAY = 5;//协议支付

    //查看地图，起始坐标
    public static final String POINTS = "POINTS";


    //客服电话
    public static final String CALL_PHONE = "0593-2911006";

    public static final String IMG_URL = "http://www.qiaoqiao123.com/";




}
